﻿@inherits Public.Web.Models.CustomViewPage
@{
    var currentPage = PageProvider.GetCurrentPage(HttpContext.Current);
    if (currentPage == null)
    {
        return;
    }
}
<div class="limestoneEditorToolbar">
    <span class="ui-widget-header ui-corner-all">
        @Html.ActionLink("New page", "Edit", "Editor", new { parentPagePath = currentPage.Path, cancelUrl = currentPage.Path }, null)
        @Html.ActionLink("Edit page", "Edit", "Editor", new { pagePath = currentPage.Path, cancelUrl = currentPage.Path }, null)
        @Html.ActionLink("Move page", "Move", "Editor", new { pagePath = currentPage.Path, cancelUrl = currentPage.Path }, null)
        @Html.ActionLink("Copy page", "Copy", "Editor", new { pagePath = currentPage.Path, cancelUrl = currentPage.Path }, null)
        @Html.ActionLink("Delete page", "Delete", "Editor", new { pagePath = currentPage.Path, completeUrl = currentPage.ParentPath }, null)
    </span>
</div>
